package icantalk.voip;
/**
 * Class representing parsed UDP datagram content
 *
 * @author Antonín Brettšnajdr
 */
public class Packet {

    private long timestamp;
    private long seq;
    private byte[] data;

    public Packet(long timestamp, long seq, byte[] data) {
        this.timestamp = timestamp;
        this.seq = seq;
        this.data = data;
    }

    public byte[] getData() {
        return data;
    }

    public long getSeq() {
        return seq;
    }

    public long getTimestamp() {
        return timestamp;
    }
}
